<template>
  <div>
    <Title :title="title" :gotoRoute="gotoRoute"></Title>
    <div class="item">
      <img src="../assets/styles/ResultImg.jpg" class="item-img">
      <div class="item-number" >
        <em >交易流水号：</em>
        {{this.$store.state.serialNumber}}
      </div>
    </div>
    <el-row style="text-align: center">
      <router-link to="/">
      <el-button class="button" type="primary" >完成</el-button>
      </router-link>
    </el-row>
  </div>
</template>

<script>
import Title from '../components/title'
export default {
  name: 'TransferResult',
  components: {
    Title
  },
  data () {
    return {
      title: '转账结果页',
      gotoRoute: '/TransferConfirm'
    }
  }
}
</script>

<style lang="stylus" scoped>
  .el-button--primary
    margin-top 50px
    width 300px
  .item
    display flex
    flex-direction column
    justify-content center
    .item-img
      margin-top 80px
    .item-number
      margin-top 50px
      text-align center
</style>
